package com.freshmarket.freshmarket.service;

import com.freshmarket.freshmarket.controller.form.InsertProductBatchForm;
import com.freshmarket.freshmarket.entity.ProductBatch;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Squirrel
 * @since 2020-09-05
 */
public interface IProductBatchService extends IService<ProductBatch> {

    @Transactional
    void insertProductBatch(InsertProductBatchForm insertProductBatchForm);

    @Transactional
    void putDownProductBatch(int productBatchId);
}
